package com.tarena.lbs.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
@Schema(name = "优惠券码实体类")
public class CouponCode {
    @Schema(description = "主键 ID")
    private Integer id;
    @Schema(description = "券 ID")
    private Integer couponId;
    @Schema(description = "商家 ID")
    private Integer businessId;
    @Schema(description = "分配状态（已分配、未分配）")
    private Integer status;
    @Schema(description = "优惠券编码")
    private String couponCode;
    @Schema(description = "创建时间")
    private Date createAt;
    @Schema(description = "更新时间")
    private Date updateAt;
}